<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=0,user-scalable=0">
[#include "/wap/include/static.html"]
    <link rel="stylesheet" href="/resources/wap/css/more/news.css">
</head>
<body>
<!--头部-->
<div id="header">
    <div class="left">
        <img id="goBack" src="/resources/wap/img/invest/back.png">
    </div>
    <div class="center">
        ${category.name}
    </div>
</div>
<div id="contents">
<div class="contents">
[#--<div class="content">--]
    [#--<!--标题-->--]
    [#--<div class="head">--]
        [#--<span>关于使用优惠优知</span>--]
        [#--<div class="type"><img src="/resources/wap/img/more/trumpet.png"><span>平台通知</span></div>--]
    [#--</div>--]
    [#--<!--时间-->--]
    [#--<div class="date">--]
        [#--<p>2017-12-20</p>--]
    [#--</div>--]
[#--</div>--]
</div>
</div>
<!--底部-->
[#include "/wap/include/footer.ftl"]
<script>
    var page = 1;
    $(function(){
        $('#contents').dropload({
            scrollArea : window,
            loadDownFn : function(me){
                next(page);
            }
        });

    });

        next(1);
    function next(pg){

        ajax({
            url: "${path}/wap/more/article/list/${category.cate_name}",
            type: "POST",
            dataType: "text",
            cache: false,
            data:{"currentPage":pg},
            success: function(result) {
                $(".contents").append(result);
                page = page+1;

            },error:function(result){

            }
        });


    }

</script>
</body>
<script src="${path}/resources/wap/js/more/aboutme.js"></script>
<script src="${path}/resources/wap/js/load/dropload.min.js"></script>
</html>